package com.ios.service;

import com.ios.model.entity.Room;
import com.ios.model.entity.Seat;
import com.ruoyi.common.core.domain.AjaxResult;

import java.util.List;

public interface RoomService {
    AjaxResult insertRoom(Room room);
    AjaxResult updateRoom(Room room);
    int deleteRoomByIds(Long[] ids);
    Room selectRoomById(Long id);
    List<Room> selectRoomList(Room room);
    int countSeatsByRoomId(Long roomId);
    List<Seat> selectSeatsByRoomId(Long roomId);
}